"Actions" Section
In this section, you can create and describe the user's context menu.
Since a shape may have no user's context menu, this section may be missing
in the table.
To add the Actions section to the table:
Sometimes it may be possible that the Actions section already exists
in the table, but it is not visible.
The View Sections dialog lets you show/hide
the table sections.
To show the Actions section:
The Actions section appears in the table. Each row in the section corresponds to a user's menu item.
To add a new menu item:
To delete a menu item:
This will delete the row that describes this user's menu item. Removing the last row removes the entire section.
Action
This field determines the action the program takes when the menu item is clicked.
For instance, clicking the menu item can assign a value to a parameter of the
shape: _SETF("Variables.X4";0.2).
To create a line separating the menu items, input any number (other than 0)
in this field.
Menu
Type the name of the menu item here. The name must be enclosed in quotation marks.
Prompt
The text that will appear on the Status bar when you position the pointer over the menu item. The text must be enclosed in quotation marks.
Checked
The flag that defines whether the check mark besides the menu item should be displayed.
TRUE - show the check mark;
FALSE - don't show the check mark.
Disabled
The flag that disables the menu item (when disabled, the item appears in grey and can't be selected).
TRUE - disable the menu item;
FALSE - enable the menu item.
Variables from the Actions section are specified in the following form in the formulas:
[<shape_name>.]Actions.<field_name><row_number>
Return to The Table's Sections